<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>jMaps Examples: Ground Overlay</title>
        <link rel="stylesheet" media="screen" href="../css/main.css" />
    </head>
    <body>
        <div class="header">
            <h2>jMaps</h2>
        </div>
        <div class="all-examples">
            
            <div class="all-example-description">
                <p>This example shows you how easily jQuery + jMaps makes adding a ground overlay to your map.</p>
                <p>
                    <a href="http://code.google.com/apis/maps/documentation/reference.html#GGroundOverlay">Google ground overlays</a>
                    allows you to add a graphic to a map at a defined position.
                </p>
            </div>
            
            <div class="example">
                <h3>Example: Ground Overlay.</h3>
                <div id="map1" class="jmap"></div>
								       
                <div class="example-code">
                    <pre>
                        <code>
jQuery(document).ready(function(){
	jQuery('#map1').jmap('init', {'mapType':G_HYBRID_MAP,'mapCenter':[40.736216,-74.193393]});
	
	jQuery('#map1').jmap("AddGroundOverlay", {
		'overlaySouthWestBounds': [40.716216,-74.213393],
		'overlayNorthEastBounds': [40.765641,-74.139235],
		'overlayImage': "http://www.lib.utexas.edu/maps/historical/newark_nj_1922.jpg"
	});
});
                        </code>
                    </pre>
                </div>
        </div>
<!-- Localhost Key-->
    <!--<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAApCYnM8S-TSRBhQk16Ynr4BTpH3CbXHjuCVmaTc5MkkU4wO1RRhTDHHVxsVRxIzxPFaQpyblxObvHbw" type="text/javascript"></script>-->
    
    <!-- map.ifies.org -->
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAApCYnM8S-TSRBhQk16Ynr4BRMFDArna7TyLvN-BP2UPnpVPTTThTJtWBJwhvgDdYt37zadgzAjoYHSQ" type="text/javascript"></script>
		    
    <script type="text/javascript" src="/libs/jquery.js"></script>
    <script type="text/javascript" src="/libs/jquery.jmap.js"></script>
    
    <script type="text/javascript">
        jQuery(document).ready(function(){
					jQuery('#map1').jmap('init', {'mapType':G_HYBRID_MAP,'mapCenter':[40.736216,-74.193393]});
					
					jQuery('#map1').jmap("AddGroundOverlay", {
						'overlaySouthWestBounds': [40.716216,-74.213393],
						'overlayNorthEastBounds': [40.765641,-74.139235],
						'overlayImage': "http://www.lib.utexas.edu/maps/historical/newark_nj_1922.jpg"
					});
       	});
    </script>
    
    </body>
</html>